package com.cloud.applet.mapper;

import com.cloud.applet.entity.*;

import java.util.Date;
import java.util.List;

/**
 * @Description:
 * @ClassName: UserMapper
 * @Author: 陈兆庆
 * @Date: 2024/9/13 17:40
 * @Version: 1.0     // 版本
 */
public interface UserMapper {


    void login(User user);


    void saveAddress(Address address);

    List<Address> getAddress(String userId);

    void updateAddress(Address address);

    List<Goods> getGoodsList(String group, String groupType);

    Goods getGoodsById(String id);

    List <Order> getOrderList(String userId);

    void deleteShopCar(String userId, String id);

    void deleteAddress(String userId, String id);

    void addBag(ShopCar shopCar);

    List<ShopCar> getShopCarList(String userId);

}
